package com.sxl.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sxl.domain.Netfollows;
import com.sxl.domain.Netfollows_export;
import com.sxl.service.NetfollowsService;
import com.sxl.mapper.NetfollowsMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author xue
* @description 针对表【netfollows】的数据库操作Service实现
* @createDate 2022-05-02 14:57:01
*/
@Service
public class NetfollowsServiceImpl extends ServiceImpl<NetfollowsMapper, Netfollows>
    implements NetfollowsService{
    @Autowired
    private NetfollowsMapper netfollowsMapper;
    @Override
    public List<Netfollows> selectAllByUserId(Netfollows netfollows) {
        return netfollowsMapper.selectAllByUserId(netfollows);
    }

    @Override
    public int getCount(Netfollows netfollows) {
        return netfollowsMapper.getCount(netfollows);
    }

    @Override
    public List<Netfollows_export> export(Netfollows netfollows) {
        return netfollowsMapper.export(netfollows);
    }
}




